<!DOCTYPE html>
<html>
<?php
require_once("config/app_webview_config.php");
$sql="select * from `show` where id = ".intval($_GET['id']);
$res=mysqli_query($conn,$sql);
if (empty($res)) {
	exit(0);
}
$row=mysqli_fetch_array($res);
?>
<head>
<script type="text/javascript" src="lib/blockad.js"></script>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<title><?php echo $row['name'];?></title>
<style type="text/css">
.title{
	color: #555;
}
.date{
	font-size: 14px;
}
.container,.date{
	color: #666;
}
.container img{
	font-size: 15px;
	max-width: 100%;
}
</style>
</head>
<body>
<h2 class="title">
	<?= $row['name'];?>
</h2>
<div class="date">
	<?= date('Y-m-d H:i:s', $row['publish_time']);?>
</div>
<div class="container">
	<?= $row['content'];?>
</div>
</body>
</html>